package org.idea.qiyu.alarm.starter.model;

/**
 * @Author linhao
 * @Date created in 6:56 下午 2021/7/13
 */
public class ErrorResult<T> {

    private Boolean isError;

    private String errorCode;

    private String errorMessage;

    private T data;

    public Boolean getError() {
        return isError;
    }

    public void setError(Boolean error) {
        isError = error;
    }

    public String getErrorCode() {
        return errorCode;
    }

    public void setErrorCode(String errorCode) {
        this.errorCode = errorCode;
    }

    public String getErrorMessage() {
        return errorMessage;
    }

    public void setErrorMessage(String errorMessage) {
        this.errorMessage = errorMessage;
    }

    public T getData() {
        return data;
    }

    public void setData(T data) {
        this.data = data;
    }
}
